Skip to content

Commit

Permalink
Merge pull request #83 from matthiasbeyer/help-text-cleanup
Browse files Browse the repository at this point in the history
Help text cleanup
  • Loading branch information
matthiasbeyer committed Sep 12, 2015
2 parents ba04a4b + 238937a commit a29bcf1
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion nix-script-channel-checkout-generation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ usage() {
-g <n> Generation to checkout
-h Show this help and exit
$(help_end)
$(help_end "channel")
EOS
}

Expand Down
2 changes: 1 addition & 1 deletion nix-script-channel-diff-generations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ usage() {
-n <generations> | Generations to show diff in form a..b
-h | Show this help and exit
$(help_end)
$(help_end "channel")
EOS
}

Expand Down
2 changes: 1 addition & 1 deletion nix-script-channel-list-generations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ usage() {
-h | Show this help and exit
$(help_end)
$(help_end "channel")
EOS
}

Expand Down
2 changes: 1 addition & 1 deletion nix-script-diff-generations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ usage() {
# with verbosity on
nix-script -v diff-generations -s -n 123..145
$(help_end)
$(help_end "${BASH_SOURCE[0]}")
EOS
}

Expand Down
2 changes: 1 addition & 1 deletion nix-script-ls-profiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ usage() {
# With verbosity on.
nix-script -v ls-profiles -s -n
$(help_end)
$(help_end "${BASH_SOURCE[0]}")
EOS
}

Expand Down
2 changes: 1 addition & 1 deletion nix-script-show-generation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ usage() {
# With verbosity on.
nix-script -v show-generations -s
$(help_end)
$(help_end "${BASH_SOURCE[0]}")
EOS
}

Expand Down
2 changes: 1 addition & 1 deletion nix-script-switch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ $(help_rcvars \
"RC_SWITCH_DEFAULT_TAG_FLAGS_NIXPKGS - Default git-tag flags for tagging in nixpkgs"
)
$(help_end)
$(help_end "${BASH_SOURCE[0]}")
EOS
}

Expand Down
2 changes: 1 addition & 1 deletion nix-script-update-package-def.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ usage() {
# Verbosity is on.
nix-script -v update-package-def -b -u http://monitor.nixos.org/patch?p=ffmpeg-full&v=2.7.1&m=Matthias+Beyer
$(help_end)
$(help_end "${BASH_SOURCE[0]}")
EOS
}

Expand Down
2 changes: 1 addition & 1 deletion nix-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ scriptname_to_command() {
#
help_synopsis() {
SCRIPT=$(scriptname_to_command $1); shift
echo "usage: nix-script $SCRIPT $*"
echo "usage: nix-script [-v] $SCRIPT $*"
}

#
Expand Down

0 comments on commit a29bcf1

Please sign in to comment.