Skip to content

Commit

Permalink
scripts: Added options to collect script usage
Browse files Browse the repository at this point in the history
Show the available options when displaying the collect scripts usage
message.

Signed-off-by: James O. D. Hunt <[email protected]>
  • Loading branch information
jodh-intel committed Mar 7, 2018
1 parent 0208f0b commit 1efa552
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion data/collect-data.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ problem_exclude_pattern+=")"
usage()
{
cat <<EOT
Usage: $script_name
Usage: $script_name [options]
Summary: Collect data about an installation of @PROJECT_NAME@.
Expand All @@ -85,6 +85,10 @@ Description: Run this script as root to obtain a markdown-formatted summary
$issue_url
Options:
-h | --help | help : show this usage summary.
EOT
}

Expand Down

0 comments on commit 1efa552

Please sign in to comment.