Skip to content

Commit

Permalink
use -V instead of -v, add option to man page
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Aug 14, 2019
1 parent 4de3107 commit 9744a4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/fai-cd
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ burniso() {
# main program

# Parse commandline options
while getopts "AekfhHg:Jbs:SBMn:m:v:c:C:d:" opt ; do
while getopts "AekfhHg:Jbs:SBMn:m:V:c:C:d:" opt ; do
case "$opt" in
A) autodiscover=1 ;;
c) csdir="$OPTARG" ;;
Expand All @@ -379,7 +379,7 @@ while getopts "AekfhHg:Jbs:SBMn:m:v:c:C:d:" opt ; do
s) space="$OPTARG" ;;
S) squash_only=1 ;;
B) bootonly=1 ;;
v) vname="$OPTARG" ;;
V) vname="$OPTARG" ;;
d) config_space="$OPTARG"; configset=1 ; arguments+=" -d $config_space";;
?) usage ;;
esac
Expand Down
3 changes: 3 additions & 0 deletions man/fai-cd.8
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ Create a squashfs image file instead of a complete iso. The image
contains the nfsroot and can be fetched through various ways over the
network. For an example, see the section "FAI without NFS" in the FAI
Guide.
.TP
.BI \-V
Set the volume id of the ISO. Default id is FAI_CD.
.SH EXAMPLES
.br
After you've created a mirror with fai-mirror in /media/mirror, you
Expand Down

0 comments on commit 9744a4d

Please sign in to comment.