]> rtime.felk.cvut.cz Git - frescor/frsh.git/commitdiff
fcb: Enable -h option (help)
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 15 Oct 2010 05:42:33 +0000 (07:42 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 15 Oct 2010 05:42:33 +0000 (07:42 +0200)
fres/cbroker/fcb.c

index b63e014971767298d9df75706a1f19ab9b9da51c..64180f0ab0557aa5a7d3c3192b259d52eb4352c2 100644 (file)
@@ -1507,7 +1507,7 @@ int main(int argc, char *argv[])
        };
        int  opt;
 
-       while ((opt = getopt_long(argc, argv, "d::l:", &long_opts[0], NULL)) != EOF) {
+       while ((opt = getopt_long(argc, argv, "d::hl:", &long_opts[0], NULL)) != EOF) {
                switch (opt) {
                        case 'l':
                                if (*optarg == '?') {