diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-08 16:18:24 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-08 16:18:24 +0200 |
commit | de6c4a0903325d14fed89de6cef2572dc141c2fe (patch) | |
tree | 555cdf7408df9d26a18f71635a7fdf2cd22e686f /src/cli/CLI.cpp | |
parent | 81df7a41538faa1f4fbfb54ea33e1448d70cfc76 (diff) | |
download | abrt-de6c4a0903325d14fed89de6cef2572dc141c2fe.tar.gz abrt-de6c4a0903325d14fed89de6cef2572dc141c2fe.tar.xz abrt-de6c4a0903325d14fed89de6cef2572dc141c2fe.zip |
Remove arrays in usage text, use a single string instead
Currently, usage is an array of pointers to string.
It is meant to support this:
usage: foo --bar
or: foo --baz
or: foo -z
The patch removes this and makes usage just a string:
usage: foo --bar
Why remove this?
(1) We can achieve old format by using the usage string with many lines:
usage = "foo --bar\n"
" or: foo --baz\n"
" or: foo -z";
(2) We don't use multi-line usage anyway.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/cli/CLI.cpp')
0 files changed, 0 insertions, 0 deletions