fish: help command return error for non-existent commands (RHBZ#597145).
authorRichard Jones <rjones@redhat.com>
Tue, 1 Jun 2010 15:27:33 +0000 (16:27 +0100)
committerRichard Jones <rjones@redhat.com>
Wed, 2 Jun 2010 12:38:00 +0000 (13:38 +0100)
commitf2b7a8e15c49ebc70c7ea56aefb340362aae5a99
tree48f68fcd73ac06175b6fff61ffbb9084e99979ff
parent9733d4746988b3a072d8bb1daac4b9795b8f4134
fish: help command return error for non-existent commands (RHBZ#597145).

With this change, the exit status indicates error for non-existent
commands.

$ guestfish -h foo
foo: command not known, use -h to list all commands
$ echo $?
1
$ guestfish help foo
foo: command not known, use -h to list all commands
$ echo $?
1
fish/fish.c
fish/fish.h
src/generator.ml