15 sa [options] [status|update|checkout] [directories to sync]
18 --quick, -Q don't update external projects
20 --debug, -d debugging level (Default 0)
21 --help, -h display this help
22 --man, -m display manual
30 Debug verbosity. (Default 0)
34 Display brief useage information.
51 # XXX parse config file
53 my %options = (quick => 0,
60 GetOptions(\%options,'quick|Q!','quiet|q!','debug|d+','help|h|?','man|m');
62 pod2usage() if $options{help};
63 pod2usage({verbose=>2}) if $options{man};
65 $DEBUG = $options{debug};
69 if (@ARGV and $ARGV[0] =~ /^(st(?:atus)?|up(?:date)?|checkout)$/) {
78 for my $dir (map{"${HOME}/$_"} '',qw(.hide bin lib)) {
82 $options{quiet}?'-q':(),
83 $options{quick}?('--ignore-externals','-N'):(),