diff options
| author | Michael Biebl <biebl@debian.org> | 2022-05-04 15:35:24 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2022-05-04 15:35:24 +0200 |
| commit | 9959fdb2e8ddd06f2161798ca0a39c77d67c652d (patch) | |
| tree | 2ce24a336d2b1c5fd5dec3090db312eded6c78ba /src/nm-online/nm-online.c | |
| parent | 8c623dddbdebe354cb94bfc559a5371a14865317 (diff) | |
New upstream version 1.37.92 upstream/1.37.92
Diffstat (limited to 'src/nm-online/nm-online.c')
| -rw-r--r-- | src/nm-online/nm-online.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nm-online/nm-online.c b/src/nm-online/nm-online.c index 340c2d19..ee4477db 100644 --- a/src/nm-online/nm-online.c +++ b/src/nm-online/nm-online.c @@ -246,7 +246,8 @@ main(int argc, char *argv[]) 0, G_OPTION_ARG_INT, &t_secs, - N_("Time to wait for a connection, in seconds (without the option, default value is 30)"), + N_("Time to wait for a connection, in seconds (without the option, default value is 30). " + "Maximum value is 2073600 seconds."), "<timeout>"}, {"exit", 'x', @@ -289,7 +290,7 @@ main(int argc, char *argv[]) return EXIT_FAILURE_ERROR; } - if (t_secs < 0 || t_secs > 3600) { + if (t_secs < 0 || t_secs > 2073600) { g_printerr("%s: %s\n", argv[0], _("Invalid option. Please use --help to see a list of valid options.")); |