Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manually write usage to add -- #53

Closed
wants to merge 1 commit into from
Closed

Conversation

asmacdo
Copy link
Member

@asmacdo asmacdo commented Jun 7, 2024

Fixes: #51

Annoyingly this changes the wrapping/indentation, so I added a newline to the start to make it just as easy to read.

Was:

 duct --help      
usage: duct [-h] [-p OUTPUT_PREFIX] [--sample-interval SAMPLE_INTERVAL] [--report-interval REPORT_INTERVAL] [-c {all,none,stdout,stderr}]
            [-o {all,none,stdout,stderr}] [-t {all,system-summary,processes-samples}]
            command [arguments ...]

Now:

duct --help
usage: 
duct [-h] [-p OUTPUT_PREFIX] [--sample-interval SAMPLE_INTERVAL] [--report-interval REPORT_INTERVAL] [-c {all,none,stdout,stderr}] [-o {all,none,stdout,stderr}] [-t {all,system-summary,processes-samples}] [--] command [arguments ...]

Gathers metrics on a command and all its child processes.

@asmacdo asmacdo closed this Jun 7, 2024
@asmacdo asmacdo deleted the manual-usage-doc branch August 22, 2024 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add [--] into --help output
1 participant