From 3cfbc540541fbf3ffcddb527ab13ae2a308565eb Mon Sep 17 00:00:00 2001 From: dormando Date: Thu, 29 Mar 2012 18:00:36 -0700 Subject: [PATCH] make it more obvious you can fetch by fid when domain/key are missing, mogfiledebug can still be used. make a point of that. --- mogfiledebug | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mogfiledebug b/mogfiledebug index 6033fb4..2ca1238 100755 --- a/mogfiledebug +++ b/mogfiledebug @@ -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/);