Add beat option in path command

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2020-01-11 09:55:17 +00:00
parent 4db90b42b6
commit 61c7b48e3f
4 changed files with 8 additions and 3 deletions

View File

@@ -161,6 +161,7 @@ gt_path(int argc, char **argv)
{"dev", "NAME", &dev, argz_str},
{"up|backup|down", NULL, NULL, argz_option},
{"rate", NULL, &ratez, argz_option},
{"beat", "SECONDS", &req.path.beat, argz_time},
{NULL}};
if (argz(pathz, argc, argv))