swap demo to executable_name

This commit is contained in:
jnagpaul 2023-07-26 13:26:17 -04:00 committed by Felix Queißner
parent 2cae03af05
commit bb2eced8dd

View File

@ -57,6 +57,6 @@ pub fn main() !u8 {
std.debug.print("\t'{s}'\n", .{arg});
}
try argsParser.printHelp(Options, "demo.zig", std.io.getStdOut().writer());
try argsParser.printHelp(Options, options.executable_name orelse "demo", std.io.getStdOut().writer());
return 0;
}