aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/gscr2
-rw-r--r--man/man1/gscr.12
2 files changed, 3 insertions, 1 deletions
diff --git a/bin/gscr b/bin/gscr
index b96da8d7..0896d64f 100755
--- a/bin/gscr
+++ b/bin/gscr
@@ -1,6 +1,6 @@
#!/bin/sh
# Scrub a Git repository
-for arg in "${@:?}" ; do
+for arg in "${@:-.}" ; do
case $arg in
*.git)
cd -- "$arg" || continue
diff --git a/man/man1/gscr.1 b/man/man1/gscr.1
index 495b6a33..91cc05fa 100644
--- a/man/man1/gscr.1
+++ b/man/man1/gscr.1
@@ -4,6 +4,8 @@
\- scrub a Git repository to pack it and reduce its size
.SH SYNOPSIS
.B gscr
+.br
+.B gscr
/path/to/project/.git
.br
.B gscr