From 37c65d13f845d2864f26984c4ed50f2d80e07033 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Tue, 8 Dec 2015 21:05:45 +0100 Subject: Update manpages and scripts for #6 --- sboconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sboconfig') 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}) { -- cgit v1.2.3