Handle unknown options #16

Open
wants to merge 15 commits into
from

Conversation

Projects
None yet
2 participants

Unknown options in the command line arguments are passed to sh. I have seen that you want to make it use commander.c but I think that there is no need to do that for this specific issue.

@stephenmathieson stephenmathieson commented on the diff Jul 7, 2014

.travis.yml
@@ -0,0 +1,12 @@
+language: c
+
+compiler:
+ - gcc
+
+script: make
+
+before_install:
@stephenmathieson

stephenmathieson Jul 7, 2014

Collaborator

coveralls?

@echaouchna

echaouchna Nov 4, 2014

this is optional, it was added for personal testing purpose.

@stephenmathieson stephenmathieson commented on the diff Jul 7, 2014

@@ -6,6 +6,9 @@ all: watch
watch: src/watch.c
$(CC) $< $(CFLAGS) -o $@
+
+debug: src/watch.c
+ $(CC) $< $(CFLAGS) -g -o $@
@stephenmathieson

stephenmathieson Jul 7, 2014

Collaborator

what's the difference here? why not just make watch?

@echaouchna

echaouchna Nov 4, 2014

-g option will add debugging information to the program (further reading here https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Debugging-Options.html#Debugging-Options)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment