# HG changeset patch # User Paul Boddie # Date 1715466349 -7200 # Node ID 3661a399d7351b4e18b4eeb78a35644f704b388b # Parent 35b20a6849f470e110c085441bdd13ea4648fe85 Added invocation help text when no arguments are provided. diff -r 35b20a6849f4 -r 3661a399d735 test_files/programs/test_systemv.c --- a/test_files/programs/test_systemv.c Sat May 11 23:53:52 2024 +0200 +++ b/test_files/programs/test_systemv.c Sun May 12 00:25:49 2024 +0200 @@ -34,6 +34,12 @@ { int result; + if (argc < 2) + { + printf("Usage: test_systemv ...\n"); + return 1; + } + printf("Running: %s\n", argv[1]); result = systemv(argc - 1, (const char **) argv + 1);