Ver Fonte

Improve prunefiles help dialog

Bryan Roessler há 3 anos atrás
pai
commit
bc65de6571
1 ficheiros alterados com 8 adições e 6 exclusões
  1. 8 6
      prunefiles

+ 8 - 6
prunefiles

@@ -10,12 +10,14 @@ prunefiles () {
     printHelpAndExit () {
 
     cat <<-'EOF'
-USAGE:
-pruneFiles -k 3 thisfileprefix [thatfileprefix]
-
-OPTIONS
-	-k|--keep NUMBER
-		Keep NUMBER of latest files that matches each file prefix (Default: 1)
+		USAGE:
+		    pruneFiles -k 3 thisfileprefix [thatfileprefix]
+
+		OPTIONS
+		    -k|--keep NUMBER
+		        Keep NUMBER of latest files that matches each file prefix (Default: 1)
+		    -h|--help
+		        Print this help dialog and exit
 EOF
 
     # Exit using passed exit code