diff options
author | Irina Gómez <irinagomez@us.es> | 2020-02-04 10:29:40 +0100 |
---|---|---|
committer | Irina Gómez <irinagomez@us.es> | 2020-02-04 10:29:40 +0100 |
commit | 2a448046aa504ec12070cec765ae0b419c603396 (patch) | |
tree | e55ad830abd8385cfef5069aa8a66800cd765367 /client/engine | |
parent | 6640e2cfaef23129837c00a95204dbf5f4419d06 (diff) |
ogGrubHidePartitions and ogBurgHidePartitions: help messages are enhanced.
Diffstat (limited to 'client/engine')
-rwxr-xr-x | client/engine/Boot.lib | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/client/engine/Boot.lib b/client/engine/Boot.lib index eb3d923b..075fd52c 100755 --- a/client/engine/Boot.lib +++ b/client/engine/Boot.lib @@ -1316,8 +1316,9 @@ function ogGrubHidePartitions () { # Si se solicita, mostrar ayuda. if [ "$*" == "help" ]; then - ogHelp "$FUNCNAME" "$FUNCNAME int_ndisk int_npartition" \ - "$FUNCNAME 1 6" + ogHelp "$FUNCNAME" "$FUNCNAME int_ndisk int_npartition [ num_disk_partdata num_partdata ]" \ + "$FUNCNAME 1 2" \ + "$FUNCNAME 1 2 1 3" return fi ogBootLoaderHidePartitions $@ @@ -1333,8 +1334,9 @@ function ogBurgHidePartitions () { # Si se solicita, mostrar ayuda. if [ "$*" == "help" ]; then - ogHelp "$FUNCNAME" "$FUNCNAME int_ndisk int_npartition" \ - "$FUNCNAME 1 6" + ogHelp "$FUNCNAME" "$FUNCNAME int_ndisk int_npartition [ num_disk_partdata num_partdata ]" \ + "$FUNCNAME 1 2" \ + "$FUNCNAME 1 2 1 3" return fi ogBootLoaderHidePartitions $@ @@ -1386,7 +1388,7 @@ function ogBootLoaderHidePartitions () # Archivo de configuracion del grub DIRMOUNT=$(ogMount $1 $2) - # La función debe ser llamanda desde ogGrubHidePartitionsCdc or ogBurgHidePartitionsCdc. + # La función debe ser llamanda desde ogGrubHidePartitions or ogBurgHidePartitions. case "$FUNC" in ogGrubHidePartitions) CFGFILE="$DIRMOUNT/boot/grubMBR/boot/grub/grub.cfg" @@ -1395,7 +1397,7 @@ function ogBootLoaderHidePartitions () CFGFILE="$DIRMOUNT/boot/burg/burg.cfg" ;; *) - ogRaiseError $OG_ERR_FORMAT "Use ogGrubHidePartitionsCdc or ogBurgHidePartitionsCdc." + ogRaiseError $OG_ERR_FORMAT "Use ogGrubHidePartitions or ogBurgHidePartitions." return $? ;; esac |