SVN: toys/rsget.pl: README rsget.pl
sparky
sparky at pld-linux.org
Sat Oct 3 19:17:18 CEST 2009
Author: sparky
Date: Sat Oct 3 19:17:18 2009
New Revision: 10664
Modified:
toys/rsget.pl/README
toys/rsget.pl/rsget.pl
Log:
- trim spaces at the end config file lines
Modified: toys/rsget.pl/README
==============================================================================
--- toys/rsget.pl/README (original)
+++ toys/rsget.pl/README Sat Oct 3 19:17:18 2009
@@ -16,3 +16,10 @@
For full list of command-line options check: rsget.pl --help. All those options
may also be set in config file ( $HOME/.rsget.pl/config ). Check 'README.config'
file for example config.
+Each option requires a value, which may be specified inmediately after '=' sign,
+or as next argument. Underscores may be replaced with dashes.
+Following command-line declarations are equivalent:
+ --use_svn=update
+ --use-svn=update
+ --use_svn update
+ --use-svn update
Modified: toys/rsget.pl/rsget.pl
==============================================================================
--- toys/rsget.pl/rsget.pl (original)
+++ toys/rsget.pl/rsget.pl Sat Oct 3 19:17:18 2009
@@ -68,6 +68,7 @@
next if /^\s*(?:#.*)?$/;
chomp;
if ( s/^\s*([a-z_]+)\s*=\s*// ) {
+ s/\s+$//;
set( $1, $_, "config file, line $line" );
next;
}
More information about the pld-cvs-commit
mailing list