aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2024-01-23 12:51:17 +0000
committerstephan <stephan@noemail.net>2024-01-23 12:51:17 +0000
commit91cee17d8334c91cad1919230c1ba61812f86317 (patch)
tree8cc5867184d0527b2cd78a393f3d78b46ed56033 /src
parentb4b7088d5f48f159320d81497a47f4804dd12be7 (diff)
downloadsqlite-91cee17d8334c91cad1919230c1ba61812f86317.tar.gz
sqlite-91cee17d8334c91cad1919230c1ba61812f86317.zip
Change the shell's --help flag to exit with code 0 instead of 1, per /forum and /chat discussions.
FossilOrigin-Name: df563a18578c5cf1aaecf5818c93967aaa70475598d3c099779622ac8911f926
Diffstat (limited to 'src')
-rw-r--r--src/shell.c.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell.c.in b/src/shell.c.in
index 02850691d..353db72ed 100644
--- a/src/shell.c.in
+++ b/src/shell.c.in
@@ -11926,7 +11926,7 @@ static void usage(int showDetail){
}else{
eputz("Use the -help option for additional information\n");
}
- exit(1);
+ exit(0);
}
/*