Skip to content

Commit

Permalink
Merge pull request #179 from pi-hole/fix/help-arg
Browse files Browse the repository at this point in the history
Add --help
  • Loading branch information
DL6ER authored Dec 25, 2017
2 parents 2984ae4 + fc94242 commit 95a9c54
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions args.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ void parse_args(int argc, char* argv[])
}

// List of implemented arguments
if(strcmp(argv[i], "-h") == 0 ||
strcmp(argv[i], "help") == 0)
if(strcmp(argv[i], "-h") == 0 || strcmp(argv[i], "help") == 0 || strcmp(argv[i], "--help") == 0)
{
printf("pihole-FTL - The Pi-hole FTL engine\n\n");
printf("Usage: sudo service pihole-FTL <action>\n");
Expand Down

0 comments on commit 95a9c54

Please sign in to comment.