Integrated: 1878: Improve argument check in SKARA CLI

Zhao Song zsong at
Mon Apr 17 18:29:22 UTC 2023

On Thu, 13 Apr 2023 22:54:06 GMT, Zhao Song <zsong at> wrote:

> Currently, if a user misuses a command, in some cases, SKARA CLI crashes and throws a stack trace, which is bad and does not provide useful information to the user. 
> After investigating, I found that in many places, we don't check whether an option is followed by an argument, and it would trigger some issues.
> In this patch, the program would always check the presence of an argument  before attempting to retrieve it for an option.

This pull request has now been integrated.

Changeset: e95942fa
Author:    Zhao Song <zsong at>
Stats:     144 lines in 14 files changed: 44 ins; 49 del; 51 mod

1878: Improve argument check in SKARA CLI

Reviewed-by: erikj



More information about the skara-dev mailing list