diff options
| author | Fangrui Song <maskray@google.com> | 2019-04-26 02:10:10 +0000 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2019-04-26 02:10:10 +0000 |
| commit | 2db79e9d2cacc7a387d3e1e6bf0f6ac0a7d5d292 (patch) | |
| tree | f9e9ccdcef9c81438e8e9a60cc98bb462fd3e291 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h | |
| parent | 48e7a2fa8cf072749b8f7b1baa7aaa38e710b68d (diff) | |
| download | llvm-2db79e9d2cacc7a387d3e1e6bf0f6ac0a7d5d292.zip llvm-2db79e9d2cacc7a387d3e1e6bf0f6ac0a7d5d292.tar.gz llvm-2db79e9d2cacc7a387d3e1e6bf0f6ac0a7d5d292.tar.bz2 | |
[llvm-objcopy] Accept --long-option but not -long-option
Summary:
llvm-{objcopy,strip} (and many other LLVM binary utilities) accept
cl::opt style -long-option as well as many short options (e.g. -p -S
-x). People who use them as replacement of GNU binutils often use the
grouped option syntax (POSIX Utility Conventions), e.g. -Sx => -S -x,
-Wd => -W -d, -sj.text => -s -j.text
There is ambiguity if a long option starts with the character used by a
short option. Drop the support for -long-option to resolve the ambiguity.
This divergence from other utilities is accepted (other utilities
continue supporting -long-option).
https://lists.llvm.org/pipermail/llvm-dev/2019-April/131786.html
Reviewers: alexshap, jakehehrlich, jhenderson, rupprecht, espindola
Reviewed By: jakehehrlich, jhenderson, rupprecht
Subscribers: grimar, emaste, arichardson, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D60439
llvm-svn: 359265
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions
