diff options
Diffstat (limited to 'sboconfig')
-rwxr-xr-x | sboconfig | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -41,7 +41,7 @@ Config options (defaults shown): PKG_DIR: set a directory to store packages in. -s|--sbo-home /usr/sbo: SBO_HOME: set the SBo directory. - -l|--local-overrides FALSE: + -o|--local-overrides FALSE: LOCAL_OVERRIDES: a directory containing local overrides. -V|--slackware-version FALSE: SLACKWARE_VERSION: use the SBo repository for this version. @@ -53,7 +53,7 @@ my %options; GetOptions(\%options, 'help|h', 'version|v', 'list|l', 'noclean|c=s', 'distclean|d=s', 'jobs|j=s', 'pkg-dir|p=s', 'sbo-home|s=s', - 'local-overrides|l=s', 'slackware-version|V=s'); + 'local-overrides|o=s', 'slackware-version|V=s'); show_usage() and exit 0 if exists $options{help}; show_version() and exit 0 if exists $options{version}; @@ -74,7 +74,7 @@ my %params = ( JOBS => 'j|--jobs', PKG_DIR => 'p|--pkg-dir', SBO_HOME => 's|--sbo-home', - LOCAL_OVERRIDES => 'l|--local-overrides', + LOCAL_OVERRIDES => 'o|--local-overrides', SLACKWARE_VERSION => 'V|--slackware-version', ); @@ -111,7 +111,7 @@ if (exists $changes{SBO_HOME}) { usage_error("$warn -s") unless $changes{SBO_HOME} =~ qr#^/#; } if (exists $changes{LOCAL_OVERRIDES}) { - usage_error("$warn -l") unless $changes{LOCAL_OVERRIDES} =~ qr#^(/|FALSE$)#; + usage_error("$warn -o") unless $changes{LOCAL_OVERRIDES} =~ qr#^(/|FALSE$)#; } if (exists $changes{SLACKWARE_VERSION}) { usage_error("$warn -V") unless $changes{SLACKWARE_VERSION} =~ m/^(\d+\.\d+|FALSE)$/; |