update turbo-analyze
This commit is contained in:
parent
6ae17fe99d
commit
aaf9d2cc67
@ -20,10 +20,13 @@ const Header = @import("header.zig").Header;
|
||||
const section_length_bits = @import("header.zig").section_length_bits;
|
||||
|
||||
const usage =
|
||||
\\usage: turbo-analyze [options] [db.turbo]
|
||||
\\usage: turbo-analyze [OPTION]... <PATH>
|
||||
\\
|
||||
\\ -h Print this help message and exit
|
||||
\\ [db.turbo] Path to the turbonss database file (default: db.turbo)
|
||||
\\Arguments:
|
||||
\\ <PATH> Path to the database (default: /etc/turbonss/db.turbo)
|
||||
\\
|
||||
\\Options:
|
||||
\\ -h Print this help message and exit
|
||||
\\
|
||||
;
|
||||
|
||||
@ -69,7 +72,7 @@ fn execute(
|
||||
}
|
||||
|
||||
const db_file = switch (myflags.args.len) {
|
||||
0 => "db.turbo",
|
||||
0 => "/etc/turbonss/db.turbo",
|
||||
1 => mem.span(myflags.args[0]),
|
||||
else => {
|
||||
stderr.print("ERROR: too many arguments\n", .{}) catch {};
|
||||
|
Loading…
Reference in New Issue
Block a user