Commit 264bca7
committed
options: change timeout value format
Change the way we handle timeout format, introducing <value> + suffix
that can be:
- s: seconds
- m: minutes
- h: hours
- d: days
For example, '30m' means '30 minutes'. If no suffix is given, we threat
the input value in seconds.
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Acked-by: Cyril Hrubis <chrubis@suse.cz>
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>1 parent 1cbb46f commit 264bca7
1 file changed
+33
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
152 | 179 | | |
153 | 180 | | |
154 | 181 | | |
| |||
428 | 455 | | |
429 | 456 | | |
430 | 457 | | |
431 | | - | |
432 | | - | |
433 | | - | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
434 | 461 | | |
435 | 462 | | |
436 | 463 | | |
437 | | - | |
438 | | - | |
439 | | - | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
440 | 467 | | |
441 | 468 | | |
442 | 469 | | |
| |||
0 commit comments