cmd: update help text
This commit is contained in:
parent
3096165165
commit
2568538cb3
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user