aboutsummaryrefslogtreecommitdiff
path: root/sboconfig
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-12-08 21:05:45 +0100
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-12-08 21:05:45 +0100
commit37c65d13f845d2864f26984c4ed50f2d80e07033 (patch)
treedd5217a323f13f57f74133dc41badcd74e752125 /sboconfig
parentff45c2217584f8e72d5ae41288bfbb5f563509a4 (diff)
downloadsbotools2-37c65d13f845d2864f26984c4ed50f2d80e07033.tar.xz
Update manpages and scripts for #6
Diffstat (limited to 'sboconfig')
-rwxr-xr-xsboconfig6
1 files changed, 5 insertions, 1 deletions
diff --git a/sboconfig b/sboconfig
index 2278e39..d9c9bf3 100755
--- a/sboconfig
+++ b/sboconfig
@@ -45,6 +45,8 @@ Config options (defaults shown):
LOCAL_OVERRIDES: a directory containing local overrides.
-V|--slackware-version FALSE:
SLACKWARE_VERSION: use the SBo repository for this version.
+ -r|--repo FALSE:
+ REPO: use a repository other than SBo.
EOF
}
@@ -53,7 +55,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|o=s', 'slackware-version|V=s');
+ 'local-overrides|o=s', 'slackware-version|V=s', 'repo|r=s');
show_usage() and exit 0 if exists $options{help};
show_version() and exit 0 if exists $options{version};
@@ -66,6 +68,7 @@ my %valid_confs = (
'sbo-home' => 'SBO_HOME',
'local-overrides' => 'LOCAL_OVERRIDES',
'slackware-version' => 'SLACKWARE_VERSION',
+ 'repo' => 'REPO',
);
my %params = (
@@ -76,6 +79,7 @@ my %params = (
SBO_HOME => 's|--sbo-home',
LOCAL_OVERRIDES => 'o|--local-overrides',
SLACKWARE_VERSION => 'V|--slackware-version',
+ REPO => 'r|--repo',
);
if (exists $options{list}) {