about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nixpkgs/pkgs/scripts')
-rwxr-xr-xsys/nixpkgs/pkgs/scripts/source/apps/git-edit-index.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/nixpkgs/pkgs/scripts/source/apps/git-edit-index.sh b/sys/nixpkgs/pkgs/scripts/source/apps/git-edit-index.sh
index 0010718b..3a22b0fd 100755
--- a/sys/nixpkgs/pkgs/scripts/source/apps/git-edit-index.sh
+++ b/sys/nixpkgs/pkgs/scripts/source/apps/git-edit-index.sh
@@ -19,10 +19,13 @@ help() {
     cat <<EOF
 Edit a file from the index. This script does not touch the unstaged variant of the file.
 
-Usage:
-    $NAME [OPTIONS] [--] FILES
+USAGE:
+    $NAME [OPTIONS] [--] FILES..
 
 OPTIONS:
+    --
+                            Stop parsing options and interpret everything as an file.
+
     --help | -h
                             Display this help and exit.