Permalink
Browse files

Standard for the main return

  • Loading branch information...
jrbasso committed Jul 8, 2012
1 parent 8b6f8e0 commit e4bbcc51322466d9db88fe449d4570f72d54429d
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gistit.c
View
@@ -232,13 +232,13 @@ int main(int argc, char *argv[])
// Version
if (strcmp(argv[i], "-v") == 0 || strcmp(argv[i], "--version") == 0) {
version();
- return 0;
+ return EXIT_SUCCESS;
}
// Help/usage
if (strcmp(argv[i], "-h") == 0 || strcmp(argv[i], "--help") == 0) {
usage();
- return 0;
+ return EXIT_SUCCESS;
}
// Set the gist description

0 comments on commit e4bbcc5

Please sign in to comment.