Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
zachgrayio committed Jul 16, 2022
1 parent d1b53c2 commit ecd0574
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cli.zig
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ const std = @import("std");

const io = std.io;

pub const Fs3Args = struct {
pub const GrpcExampleArgs = struct {
port: u16,
};

pub fn parseArgs() !*Fs3Args {
pub fn parseArgs() !*GrpcExampleArgs {
const params = comptime clap.parseParamsComptime(
\\-p, --port <u16> Port to listen on.
);
Expand All @@ -19,7 +19,7 @@ pub fn parseArgs() !*Fs3Args {
return err;
};
defer res.deinit();
var args = Fs3Args{
var args = GrpcExampleArgs{
.port = 3000,
};
if (res.args.port) |n|
Expand Down

0 comments on commit ecd0574

Please sign in to comment.