> does it really simplify the code? I think it makes it less readable
> without arg.h.
I agree it does some, but using strcmp allows matching the flags exactly, and
prevents things like "xssstate -v" being equivilant to "xssstate -vxyz". And
since you would only ever use one flag at a time,
Hello all,
I'd like to propose a refactoring of xssstate.c. It simplifies the
code, removing the need for arg.h, and has strict error checking and
usage rules. Thoughts?
___
diff --git a/arg.h b/arg.h
deleted file mode 100644
index ba3fb3f..000
--- a/arg.h
+++ /dev/null
@@ -1,48 +0,0 @@