diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-05 05:21:30 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-05 05:21:30 +0000 |
commit | 2296f3dbdb5e3c08f272d584b0e28219acf75d49 (patch) | |
tree | a24b912e00f22ce40bd9f9665b24bc3cd6bfe8b6 /wk2/lect2 | |
parent | 206960f4c48dc05b34fe2cc8f838c06c265dd73a (diff) |
Mon, Dec 4, 2023, 9:21 PM -08:00
Diffstat (limited to 'wk2/lect2')
-rw-r--r-- | wk2/lect2/status.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wk2/lect2/status.c b/wk2/lect2/status.c index 1c7142a..ebce04c 100644 --- a/wk2/lect2/status.c +++ b/wk2/lect2/status.c @@ -6,9 +6,11 @@ int main(int argc, string argv[]) if (argc != 2) { printf("Missing command-line argument\n"); + return 1; } else { printf("hello, %s\n", argv[1]); + return 0; } } |