mirror of
https://github.com/erenfro/gen2stage4.git
synced 2024-11-13 02:38:57 -05:00
Better parameter ordering
This commit is contained in:
parent
3891a608ff
commit
12f4506a18
2 changed files with 16 additions and 16 deletions
16
README.md
16
README.md
|
@ -49,18 +49,18 @@ mkstage4 -t /custom/mount/point archive_name
|
|||
### Command line arguments
|
||||
|
||||
```console
|
||||
usage:
|
||||
mkstage4 [-q -c -b -l -k] [-s || -t <target-mountpoint>] [-e <additional excludes dir*>] [-i <additional include target>] <archive-filename> [custom-tar-options]
|
||||
-q: activates quiet mode (no confirmation).
|
||||
-c: excludes some confidential files (currently only .bash_history and connman network lists).
|
||||
Usage:
|
||||
mkstage4.sh [-b -c -k -l -q] [-C <compression-type>] [-s || -t <target-mountpoint>] [-e <additional excludes dir*>] [-i <additional include target>] <archive-filename> [custom-tar-options]
|
||||
-b: excludes boot directory.
|
||||
-c: excludes some confidential files (currently only .bash_history and connman network lists).
|
||||
-k: separately save current kernel modules and src (creates smaller archives and saves decompression time).
|
||||
-l: excludes lost+found directory.
|
||||
-q: activates quiet mode (no confirmation).
|
||||
-C: specify tar compression (default: bz2, available: lz4 xz bz2 zst gz).
|
||||
-s: makes tarball of current system.
|
||||
-t: makes tarball of system located at the <target-mountpoint>.
|
||||
-e: an additional excludes directory (one dir one -e, donot use it with *).
|
||||
-i: an additional target to include. This has higher precedence than -e, -t, and -s.
|
||||
-s: makes tarball of current system.
|
||||
-k: separately save current kernel modules and src (creates smaller archives and saves decompression time).
|
||||
-t: makes tarball of system located at the <target-mountpoint>.
|
||||
-C: specify tar compression (default: bz2, available: lz4 xz bz2 zst gz).
|
||||
-h: displays help message.
|
||||
```
|
||||
|
||||
|
|
16
mkstage4.sh
16
mkstage4.sh
|
@ -45,18 +45,18 @@ then
|
|||
HAS_PORTAGEQ=1
|
||||
fi
|
||||
|
||||
USAGE="usage:\n\
|
||||
$(basename "$0") [-q -c -b -l -k] [-s || -t <target-mountpoint>] [-e <additional excludes dir*>] [-i <additional include target>] <archive-filename> [custom-tar-options]\n\
|
||||
-q: activates quiet mode (no confirmation).\n\
|
||||
-c: excludes some confidential files (currently only .bash_history and connman network lists).\n\
|
||||
USAGE="Usage:\n\
|
||||
$(basename "$0") [-b -c -k -l -q] [-C <compression-type>] [-s || -t <target-mountpoint>] [-e <additional excludes dir*>] [-i <additional include target>] <archive-filename> [custom-tar-options]\n\
|
||||
-b: excludes boot directory.\n\
|
||||
-c: excludes some confidential files (currently only .bash_history and connman network lists).\n\
|
||||
-k: separately save current kernel modules and src (creates smaller archives and saves decompression time).\n\
|
||||
-l: excludes lost+found directory.\n\
|
||||
-q: activates quiet mode (no confirmation).\n\
|
||||
-C: specify tar compression (default: ${COMPRESS_TYPE}, available: ${!COMPRESS_AVAILABLE[*]}).\n\
|
||||
-s: makes tarball of current system.\n\
|
||||
-t: makes tarball of system located at the <target-mountpoint>.\n\
|
||||
-e: an additional excludes directory (one dir one -e, donot use it with *).\n\
|
||||
-i: an additional target to include. This has higher precedence than -e, -t, and -s.\n\
|
||||
-s: makes tarball of current system.\n\
|
||||
-k: separately save current kernel modules and src (creates smaller archives and saves decompression time).\n\
|
||||
-t: makes tarball of system located at the <target-mountpoint>.\n\
|
||||
-C: specify tar compression (default: ${COMPRESS_TYPE}, available: ${!COMPRESS_AVAILABLE[*]}).\n\
|
||||
-h: displays help message."
|
||||
|
||||
# reads options:
|
||||
|
|
Loading…
Reference in a new issue