perf buildid-cache: update help text for purge command
PATCH 1/1 perf buildid-cache: update help text for purge command
Clarify the perf buildid-cache help text for the purge operation. The purge subcommand takes a list of files (binaries) as option parameter. Make the wording the same as for the add and remove operation.
Signed-off-by Thomas Richter <[email protected]>
Reviewed-by Hendrik Brueckner <[email protected]>
--- tools/perf/builtin-buildid-cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
tools/perf/builtin-buildid-cache.c +2 -2
@@ -336,8 +336,8 @@ int cmd_buildid_cache(int argc, const char **argv) "file", "kcore file to add"),OPT_STRING ('r' ,"remove" , &remove_name_list_str,"file list" ,"file(s) to remove" ), -OPT_STRING ('p' ,"purge" , &purge_name_list_str,"path list" , -"path(s) to remove (remove old caches too)" ), +OPT_STRING ('p' ,"purge" , &purge_name_list_str,"file list" , +"file(s) to remove (remove old caches too)" ),OPT_STRING ('M' ,"missing" , &missing_filename,"file" ,"to find missing build ids in the cache" ), OPT_BOOLEAN('f', "force", &force, "don't complain, do it"),
Signature · 1 line
2.9.4
Quoted 5 lines · On Fri, 27 Oct 2017 13:01:26 +0200 Thomas Richter <[email protected]>…
Clarify the perf buildid-cache help text for the purge operation. The purge subcommand takes a list of files (binaries) as option parameter. Make the wording the same as for the add and remove operation.
Looks good to me.
Acked-by Masami Hiramatsu <[email protected]>
Thanks!
Quoted 24 lines
Signed-off-by Thomas Richter <[email protected]>Reviewed-by Hendrik Brueckner <[email protected]>--- tools/perf/builtin-buildid-cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)tools/perf/builtin-buildid-cache.c +2
-2@@ -336,8 +336,8 @@ int cmd_buildid_cache(int argc, const char **argv) "file", "kcore file to add"),OPT_STRING ('r' ,"remove" , &remove_name_list_str,"file list" ,"file(s) to remove" ), -OPT_STRING ('p' ,"purge" , &purge_name_list_str,"path list" , -"path(s) to remove (remove old caches too)" ), +OPT_STRING ('p' ,"purge" , &purge_name_list_str,"file list" , +"file(s) to remove (remove old caches too)" ),OPT_STRING ('M' ,"missing" , &missing_filename,"file" ,"to find missing build ids in the cache" ), OPT_BOOLEAN('f', "force", &force, "don't complain, do it"),Signature · 1 line
2.9.4
Signature · 1 line
Masami Hiramatsu <[email protected]>