diff --git a/cmd/mkembedfs/help.txt b/cmd/mkembedfs/help.txt index 1aef539..1f0f87b 100644 --- a/cmd/mkembedfs/help.txt +++ b/cmd/mkembedfs/help.txt @@ -5,7 +5,7 @@ flags: -chdir change working directory before codegen -prefix path prefix for file keys, none by default -ignore path globs to ignore (allowed multiple times) - -module-name generated module name, main by default - -const-name generated constant name with data, embedfs by default + -module-name generated module name, 'main' by default + -const-name generated constant name with data, 'embedfs' by default -no-pub do not make symbols in generated module public - -force-mimetype set applicetion/octet-stream mime type for unknown files + -force-mimetype set 'application/octet-stream' mime type for unknown files diff --git a/cmd/mkembedfs/mkembedfs.v b/cmd/mkembedfs/mkembedfs.v index 1cd48a0..d579345 100644 --- a/cmd/mkembedfs/mkembedfs.v +++ b/cmd/mkembedfs/mkembedfs.v @@ -38,8 +38,6 @@ fn main() { println(generator.generate()) } -@[xdoc: 'generate code for embed directories with files into executable.'] -@[name: 'embedfs'] struct FlagConfig { help bool chdir string