From 2568538cb3a5de4816ff1c7acf2811f3969ca8a2 Mon Sep 17 00:00:00 2001 From: ge Date: Mon, 20 Jan 2025 22:42:04 +0300 Subject: [PATCH] cmd: update help text --- cmd/mkembedfs/help.txt | 6 +++--- cmd/mkembedfs/mkembedfs.v | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) 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