Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions nbd-client.c
Original file line number Diff line number Diff line change
Expand Up @@ -896,11 +896,14 @@ void disconnect(char* device) {
close(nbd);
}

static const char *short_opts = "-B:b:c:d:gH:hlnN:PpRSst:uVx"
#if HAVE_NETLINK
static const char *short_opts = "-A:B:b:c:C:d:gH:hK:LlnN:PpRSst:uVx";
#else
static const char *short_opts = "-A:B:b:c:C:d:gH:hK:lnN:PpRSst:uVx";
"L"
#endif
#if HAVE_GNUTLS
"A:C:F:K:"
#endif
;

int main(int argc, char *argv[]) {
char* port=NBD_DEFAULT_PORT;
Expand Down