File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,13 +92,13 @@ show_help()
9292 echo " "
9393 echo " Options:"
9494 echo -e " \t-1, --one\t\tPut FILEs in one backup."
95- echo -e " \t--no-split\t\tDon't split backup in parts."
96- echo -e " \t-b, --split-size SIZE\tSplit backup pieces of SIZE"
97- echo -e " \t-- group-by-name\t \tGroup backups by file/date instead of date/name."
95+ echo -e " \t-s, - -no-split\t\tDon't split backup in parts."
96+ echo -e " \t-b, --split-size SIZE\tSplit backup pieces of SIZE. Default is 1G. "
97+ echo -e " \t-g, -- group-by-name\tGroup backups by file/date instead of date/name."
9898 echo -e " \t-o, --output OUTPUT\tBackup in the directory at path OUTPUT."
99- echo -e " \t-n --dry-run\t\tDon't perform any action."
99+ echo -e " \t-n, --dry-run\t\tDon't perform any action."
100100 echo " "
101- echo " Example :"
101+ echo " Examples :"
102102 echo -e " \t$ fopus --output ~/Backups --split-size 1G Documents/ lorem-ipsum.txt"
103103 echo -e " \t$ fopus --one --no-split Pictures/ Videos/"
104104}
@@ -171,13 +171,13 @@ evaluate_arguments()
171171 " --dry-run" |" -n" )
172172 DRY_RUN=" true" ;;
173173
174- " --group-by-name" )
174+ " --group-by-name" | " -g " )
175175 CONFIG[groupbyname]=" true" ;;
176176
177177 " --one" |" -1" )
178178 CONFIG[one]=" true" ;;
179179
180- " --no-split" )
180+ " --no-split" | " -s " )
181181 if [[ -n " ${CONFIG[partsize]} " ]]; then
182182 >&2 echo " fopus: --split-size can't be used with --no-split"
183183 exit 1
You can’t perform that action at this time.
0 commit comments