Skip to content

Commit 89ba7b5

Browse files
committed
Fix --help parsing
Closes: gh-191
1 parent 1523d99 commit 89ba7b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

args.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ parse_result_t parse_nbd_client_args(int argc, char *argv[], CLIENT *client) {
156156
client->no_optgo = true;
157157
break;
158158
case 'h':
159-
usage_error(&result, NULL); // Will show help
159+
usage_error(&result, ""); // Will show help
160160
return result;
161161
#if HAVE_NETLINK
162162
case 'i':

0 commit comments

Comments
 (0)