Modify ↓
Opened 9 years ago
Closed 9 years ago
#12691 closed enhancement (fixed)
Shorten help text so that it doesn't wrap
Reported by: | Ryan J Ollos | Owned by: | Jun Omae |
---|---|---|---|
Priority: | lowest | Component: | TracMigratePlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description
Here is truncated output from trac-admin $env help
:
trac-admin - The Trac Administration Console 1.0.10 Usage: trac-admin </path/to/projenv> [command [subcommand] [option ...]] Invoking trac-admin without command starts interactive mode. help Show documentation initenv Create and initialize a new environment attachment add Attach a file to a resource attachment export Export an attachment from a resource to a file or stdout attachment list List attachments of a resource attachment remove Remove an attachment from a resource changeset added Notify trac about changesets added to a repository changeset modified Notify trac about changesets modified in a repository component add Add a new component component chown Change component ownership component list Show available components component remove Remove/uninstall a component component rename Rename a component config get Get the value of the given option in "trac.ini" config remove Remove the specified option from "trac.ini" config set Set the value for the given option in "trac.ini" deploy Extract static resources from Trac and all plugins hotcopy Make a hot backup copy of an environment migrate Migrate to new environment with another database or another database without creating a new environment. milestone add Add milestone milestone completed Set milestone complete date milestone due Set milestone due date milestone list Show milestones milestone remove Remove milestone milestone rename Rename milestone permission add Add a new permission rule permission export Export permission rules to a file or stdout as CSV permission import Import permission rules from a file or stdin as CSV permission list List permission rules permission remove Remove a permission rule priority add Add a priority value option priority change Change a priority value priority list Show possible ticket priorities priority order Move a priority value up or down in the list priority remove Remove a priority value repository add Add a source repository ...
It would be good to shorten the help text for migrate
so that it doesn't wrap on an 80-char terminal.
Attachments (0)
Change History (4)
comment:1 follow-up: 2 Changed 9 years ago by
comment:2 follow-up: 3 Changed 9 years ago by
Replying to jun66j5:
Ideally, Trac core should wrap the help text to 80 columns.
Yeah, that sounds like a good improvement for the core.
comment:3 Changed 9 years ago by
Replying to rjollos:
Replying to jun66j5:
Ideally, Trac core should wrap the help text to 80 columns.
Yeah, that sounds like a good improvement for the core.
Created trac:#12388.
Note: See
TracTickets for help on using
tickets.
Okay. I'll fix it. However, it might be over 80 columns if one of plugin provides long long command names. Ideally, Trac core should wrap the help text to 80 columns.