projects
/
id3fs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
id3fsd verbosity: -v => sql, -vv => fuse debugging
[id3fs.git]
/
sbin
/
id3fsd
diff --git
a/sbin/id3fsd
b/sbin/id3fsd
index
a5eae12
..
8331e13
100755
(executable)
--- a/
sbin/id3fsd
+++ b/
sbin/id3fsd
@@
-17,8
+17,7
@@
my $dbpath=undef;
Configure(qw(bundling no_ignore_case));
my $optret=GetOptions(
Configure(qw(bundling no_ignore_case));
my $optret=GetOptions(
- "verbose|v" => \$verbose,
- "quiet|q" => sub { $verbose=0; },
+ "verbose|v" => sub { $verbose++; },
"help|h" => \$help,
"database|f=s" => \$dbpath,
);
"help|h" => \$help,
"database|f=s" => \$dbpath,
);
@@
-37,8
+36,7
@@
$fuse->run();
sub usage
{
die("Usage: $me [-vqh] [-f <dbfile>] [--] <sourcedir> <mountpoint>\n".
sub usage
{
die("Usage: $me [-vqh] [-f <dbfile>] [--] <sourcedir> <mountpoint>\n".
- " -v\t\t\tVerbose\n".
- " -q\t\t\tQuiet (default)\n".
+ " -v\t\t\tVerbose (repeat for more verbosity)\n".
" -h\t\t\tThis help\n".
" -f|--database=FILE\tPath to database file\n" .
" --\t\t\tEnd of options\n");
" -h\t\t\tThis help\n".
" -f|--database=FILE\tPath to database file\n" .
" --\t\t\tEnd of options\n");
@@
-52,7
+50,7
@@
id3fsd - FUSE filesystem for browsing id3 tags
=head1 SYNOPSIS
=head1 SYNOPSIS
-B<id3fsd> [B<-v
q
h>] S<B<[-f >I<dbfile>]> [B<-->] I<SOURCEDIR> I<MOUNTPOINT>
+B<id3fsd> [B<-vh>] S<B<[-f >I<dbfile>]> [B<-->] I<SOURCEDIR> I<MOUNTPOINT>
=head1 DESCRIPTION
=head1 DESCRIPTION
@@
-76,11
+74,7
@@
FIXME: better description, allow_others/fuse.conf, fstab, explain genre tag
=item B<-v>
=item B<-v>
-Enable verbose operation.
-
-=item B<-q>
-
-Quiet (no output). This is the default.
+Enable verbose operation. Repeat for more verbosity.
=item B<-h>
=item B<-h>