about summary refs log tree commit diff stats
path: root/sys/nixpkgs
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-02-24 15:03:53 +0100
committerSoispha <soispha@vhack.eu>2024-02-24 15:04:54 +0100
commite34d390e4afbfdc82c10604d92e79c9734b694dd (patch)
treeb6730f8db49ca4a265a24544c817a9273d5b4c2d /sys/nixpkgs
parentstyle(sys/nixpkgs/pkgs/scripts/fupdate): Format (diff)
downloadnixos-config-e34d390e4afbfdc82c10604d92e79c9734b694dd.tar.gz
nixos-config-e34d390e4afbfdc82c10604d92e79c9734b694dd.zip
style(sys/nixpkgs/pkgs/scripts/git-edit-index): Correct help text
Diffstat (limited to 'sys/nixpkgs')
-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.