vdev icon indicating copy to clipboard operation
vdev copied to clipboard

help support reinstated

Open PeteGozz opened this issue 9 years ago • 3 comments

modified:   libvdev/config.c
modified:   libvdev/config.h
modified:   vdevd/main.c
modified:   vdevd/vdev.c

patches to (re)instate --help for the vdevd daemon. should now exit early when -h or --help is supplied on the command line.

hopefully I have understood the project style and intent of various code structures. currently the exit code is 2 That value is pure opinion on my part and possibly accidental as that's what I tend to use in scripts.

make clean make

test and compare with build/sbin/vdevd -l mylogfile.log -h echo $? =hopefully returns=> 6 build/sbin/vdevd --help echo $? =hopefully returns=> 2

which may be a little helpful

There are structures and defs for future work I followed the existing code base as closely as I could.

Apologies As a bonus my .gitignore has been included . this may or may not cause hurt. I will attempt to tame my git.

PeteGozz avatar Jul 27 '16 12:07 PeteGozz

These were the result of some explorations and testing I did. Adding these to the "mothball"

PeteGozz avatar Aug 11 '16 15:08 PeteGozz

hi why this pull request was not merged?

mckaygerhard avatar Dec 31 '17 16:12 mckaygerhard

I'm wondering the same thing

RossComputerGuy avatar Jan 01 '20 01:01 RossComputerGuy