Commit bf1414c
committed
flux-restore: use optparse_get_size() for --size-limit
Problem: The flux-restore(1) --size-limit=N option takes an argument
in bytes, but this can be cumbersome for larger values.
Use optparse_get_size_int() for the --size-limit option so that any
of 'k', 'K', 'M', or 'G' for value < 2G can be used as an argument to
this option.1 parent b6f6a06 commit bf1414c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | | - | |
| 369 | + | |
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
| |||
0 commit comments