瀏覽代碼

Improve prunefiles help dialog

Bryan Roessler 3 年之前
父節點
當前提交
bc65de6571
共有 1 個文件被更改,包括 8 次插入6 次删除
  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