Skip to content

Commit

Permalink
make it more obvious you can fetch by fid
Browse files Browse the repository at this point in the history
when domain/key are missing, mogfiledebug can still be used. make a point of
that.
  • Loading branch information
dormando committed Mar 30, 2012
1 parent 02d01ae commit 3cfbc54
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mogfiledebug
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ use Digest::MD5;
use LWP::UserAgent;

my $util = MogileFS::Utils->new;
my $usage = "--trackers=host --domain=foo --key='/hello.jpg'";
my $usage = qq{--trackers=host --domain=foo --key='/hello.jpg'
If FID is known, but domain/key are not known:
--trackers=host --domain=anything --fid=123456};
# FIXME: add "nofetch" mode that just prints paths?
my $c = $util->getopts($usage, qw/key=s fid=i/);

Expand Down

0 comments on commit 3cfbc54

Please sign in to comment.