diff options
author | Daniel Wagner <daniel.wagner@siemens.com> | 2017-06-12 12:50:52 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2017-06-14 10:55:27 +0200 |
commit | b8e785a96f907022466bd383ec6afaa201e5f759 (patch) | |
tree | 4c0e50db8217f013b1eb38f4311e44adf0d00fc8 /tests/unittests/sysfs_mock/class/mtd/mtd0/name | |
parent | 12e27a1b2adf14c33694db82e1f6f8bde560b9a2 (diff) |
nor-utils: Return error code if command line option is unknown
The tools in question will quit with an exit code 0 if the command
line option was not recognized. By returning an error code a calling
script has the possibility to distinguish between a real success and
an invalid invocation.
Signed-off-by: Daniel Wagner <daniel.wagner@siemens.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/unittests/sysfs_mock/class/mtd/mtd0/name')
0 files changed, 0 insertions, 0 deletions