summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 2b3f98e..154f749 100644
--- a/main.c
+++ b/main.c
@@ -9,7 +9,7 @@ size_t collatz(size_t long_num) {
size_t printer(size_t long_num, bool verbose) {
size_t steps = 0;
- /* Probably not the best way to do this */
+ /* perhaps there is a less ugly way? */
if (verbose) {
while ( long_num > 1 ) {
long_num = collatz(long_num);
@@ -35,6 +35,7 @@ int print_help(char *argv[]) {
int main(int argc, char *argv[]) {
if ( argc < 2 || argc > 3 ) return print_help(argv);
+ /* quit from the start */
bool verbose = false;
char *endptr;