]> sourceware.org Git - lvm2.git/commit
commands: improve syntax suggestion when no command is found
authorDavid Teigland <teigland@redhat.com>
Thu, 27 Apr 2017 19:21:01 +0000 (14:21 -0500)
committerDavid Teigland <teigland@redhat.com>
Thu, 27 Apr 2017 19:21:01 +0000 (14:21 -0500)
commit86b9c23dbe4a5033eea6667c0274655e7c0c8e68
tree60b554a6e8dd83083cc596cd76b7af4bf9aa010c
parent4f9ff14508084789c731e99d8921c052da694319
commands: improve syntax suggestion when no command is found

The logic for suggesting the nearest valid command syntax
was missing the simplest case.  If a command has only one
valid syntax, that is the one we should suggest.  (We were
suggesting nothing in this case.)
tools/lvmcmdline.c
This page took 0.033744 seconds and 5 git commands to generate.