From 2b48814d3b685d1527e1d17ab939be71ff6b8c55 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Fri, 26 Nov 2021 19:34:23 +0100 Subject: Fixing the fix (the previous commit introduced a bug when the step was not specified) + minor fixes in shell --- src/commands.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands.c') diff --git a/src/commands.c b/src/commands.c index 2442d81..5e01e67 100644 --- a/src/commands.c +++ b/src/commands.c @@ -268,7 +268,7 @@ help_exec(CommandArgs *args) " system (such a Linux or MacOS) or in pdf and html" " format in the docs folder.\n" "Nissy is available for free at " - "https://github.com/sebastianotronto/nissy" + "https://github.com/sebastianotronto/nissy\n" ); } else { printf("Command %s: %s\nusage: %s\n", args->command->name, @@ -365,7 +365,7 @@ new_args() args->opts = malloc(sizeof(SolveOptions)); /* step and command are static */ - args->step = NULL; + args->step = steps[0]; /* default: first step in list */ args->command = NULL; return args; -- cgit v1.3