cmd: update help text

This commit is contained in:
ge 2025-01-20 22:42:04 +03:00
parent 3096165165
commit 2568538cb3
2 changed files with 3 additions and 5 deletions

View File

@ -5,7 +5,7 @@ flags:
-chdir <string> change working directory before codegen -chdir <string> change working directory before codegen
-prefix <string> path prefix for file keys, none by default -prefix <string> path prefix for file keys, none by default
-ignore <string> path globs to ignore (allowed multiple times) -ignore <string> path globs to ignore (allowed multiple times)
-module-name <string> generated module name, main by default -module-name <string> generated module name, 'main' by default
-const-name <string> generated constant name with data, embedfs by default -const-name <string> generated constant name with data, 'embedfs' by default
-no-pub do not make symbols in generated module public -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

View File

@ -38,8 +38,6 @@ fn main() {
println(generator.generate()) println(generator.generate())
} }
@[xdoc: 'generate code for embed directories with files into executable.']
@[name: 'embedfs']
struct FlagConfig { struct FlagConfig {
help bool help bool
chdir string chdir string