Skip to content

Commit 4456e01

Browse files
committed
Fix: Minor spelling mistakes in usage
1 parent 64b6e47 commit 4456e01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/DacValues/src/main.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ fn parse_args(args: *std.process.ArgIterator) !ParsedArgResult {
5252

5353
return .{
5454
.mode = mode orelse {
55-
std.debug.print("Wave value was not provided\n", .{});
55+
std.debug.print("Mode value was not provided\n", .{});
5656
return error.Failed;
5757
},
5858
.dac_bits = dac_bits orelse {
@@ -70,7 +70,7 @@ fn parse_args(args: *std.process.ArgIterator) !ParsedArgResult {
7070

7171
fn usage(program_path: []const u8) void {
7272
const usage_str =
73-
\\USAGE: {s} <Modes> --bits <Bits> --samples <Sample count> [--interpolate] [--freq=<Freq>]
73+
\\USAGE: {s} <Mode> --bits <Bits> --samples <Sample count> [--interpolate] [--freq=<Freq>]
7474
\\Bits Number of bits of DAC
7575
\\Sample Count Maximum number of points to in the output
7676
\\Freq Frequency will be scaled by this amount. (Default is 1.0)

0 commit comments

Comments
 (0)