about summary refs log tree commit diff
path: root/src/nm-online
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2022-05-17 15:30:19 +0200
committerSebastien Bacher <seb128@ubuntu.com>2022-05-17 15:30:19 +0200
commit1e636d8e5e986b9f2260c36bb87fb499d724085c (patch)
treeac613b9372adf622496a7d616050d7e1c09b4fba /src/nm-online
parentf4966e573c855d4667e6c236d8197d9949020e21 (diff)
parent1a31bc3c63474ca02c83b02add85ea4e740e5597 (diff)
Merge remote-tracking branch 'debian/debian/master' into ubuntu/master
Diffstat (limited to 'src/nm-online')
-rw-r--r--src/nm-online/nm-online.c5
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."));