Skip to content

Commit e61d773

Browse files
committed
fix: use variadic sub in docker example
1 parent f5858f1 commit e61d773

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

examples/docker.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ int main(int argc, char const *argv[]) {
6262
.flg<"debug", "D", int>({.help = "Enable debug mode", .implicit_value = 1, .action = act::count})
6363
.flg<"help", "h">(default_help)
6464
.flg<"version", "v">(default_version)
65-
.sub(exec_cmd)
66-
.sub(pull_cmd);
65+
.sub(exec_cmd, pull_cmd);
6766

6867
auto const map = docker_cmd(argc, argv);
6968
std::print("{} args map (size {}):\n", map.exec_path, map.size());

0 commit comments

Comments
 (0)