diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-12-03 16:30:00 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-12-03 16:30:00 +0900 |
| commit | 6bf696ca112c0ce061fb1b6a351dd2227fbedb67 (patch) | |
| tree | fa091b84f4bad0dd3818a10d7d988f1412f1cec1 /src/OptionHandlerException.h | |
| parent | f77da0d11202ad42d10989c48403dddfcbb34796 (diff) | |
New help messages. Added suggestion for unknown/ambiguous options.
The help messages shown when argument error were redesigned and less
verbose now. When unknown or ambiguous option is given, show
suggestions like "Did you mean...". Some constant values related to
levenstein distance are borrowed from git help.c.
Diffstat (limited to 'src/OptionHandlerException.h')
| -rw-r--r-- | src/OptionHandlerException.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/OptionHandlerException.h b/src/OptionHandlerException.h index a400ccee..946475f7 100644 --- a/src/OptionHandlerException.h +++ b/src/OptionHandlerException.h @@ -43,8 +43,6 @@ class Pref; class OptionHandlerException:public RecoverableException { private: const Pref* pref_; - - static const std::string MESSAGE; protected: virtual SharedHandle<Exception> copy() const; public: |
