Skip to content

fix: resolve -o option conflict between global output and filesystem output-format#240

Merged
MaojiaSheng merged 1 commit intovolcengine:mainfrom
haosenwang1018:fix/cli-output-option-conflict
Feb 21, 2026
Merged

fix: resolve -o option conflict between global output and filesystem output-format#240
MaojiaSheng merged 1 commit intovolcengine:mainfrom
haosenwang1018:fix/cli-output-option-conflict

Conversation

@haosenwang1018
Copy link
Contributor

Closes #219

The -o short flag is used for both the global --output option (json/table) and the filesystem --output-format option (agent/original), causing conflicts when used together (e.g. ov ls -o original).

This fix changes the filesystem --output-format short flag from -o to -f, resolving the ambiguity. Users can now use:

  • -o json / -o table for global output format
  • -f agent / -f original for filesystem content format

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@MaojiaSheng MaojiaSheng merged commit e678fc7 into volcengine:main Feb 21, 2026
1 check was pending
@github-project-automation github-project-automation bot moved this from Backlog to Done in OpenViking project Feb 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Bug]: -o json/table -o original/agent option 名称冲突,是否修复?

3 participants