Skip to content

Commit 9d0a2f6

Browse files
committed
update return code
1 parent 49dfe33 commit 9d0a2f6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

appveyor.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ test_script:
7171
- set REQUEST_METHOD=GET
7272
- set QUERY_STRING="SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image/png&SRS=EPSG:4326&BBOX=0,0,10,10&WIDTH=256&HEIGHT=256&LAYERS=test&TRANSPARENT=TRUE"
7373
- mapcache.fcgi.exe
74-
# following returns 1 (error)
75-
#- mapcache_seed.exe -h
74+
- mapcache_seed.exe -h
7675

7776
deploy: off
7877

util/mapcache_seed.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,8 @@ int main(int argc, const char **argv)
999999
while ((rv = apr_getopt_long(opt, seed_options, &optch, &optarg)) == APR_SUCCESS) {
10001000
switch (optch) {
10011001
case 'h':
1002-
return usage(argv[0],NULL);
1002+
usage(argv[0],NULL);
1003+
return 0;
10031004
break;
10041005
case 'f':
10051006
force = 1;

0 commit comments

Comments
 (0)