diff options
| author | kyab <[email protected]> | 2014-04-04 01:01:15 +0900 |
|---|---|---|
| committer | kyab <[email protected]> | 2014-04-04 01:01:15 +0900 |
| commit | 97ecf30fb896d57f1a9f3d705c08d911b176fd9d (patch) | |
| tree | dd7ce40e161a5a6522eff116e6884b4cc0d7306f /mrbgems/mruby-bin-mruby-config/mruby-config.bat | |
| parent | 6b6f893773562276438f2071073cf99bb27ccd7d (diff) | |
| download | mruby-97ecf30fb896d57f1a9f3d705c08d911b176fd9d.tar.gz mruby-97ecf30fb896d57f1a9f3d705c08d911b176fd9d.zip | |
add --help option to mruby-config
Diffstat (limited to 'mrbgems/mruby-bin-mruby-config/mruby-config.bat')
| -rw-r--r-- | mrbgems/mruby-bin-mruby-config/mruby-config.bat | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mrbgems/mruby-bin-mruby-config/mruby-config.bat b/mrbgems/mruby-bin-mruby-config/mruby-config.bat index ffb52adbc..c306630c6 100644 --- a/mrbgems/mruby-bin-mruby-config/mruby-config.bat +++ b/mrbgems/mruby-bin-mruby-config/mruby-config.bat @@ -6,6 +6,7 @@ if "%0" equ "" goto :eof if "%0" equ "--cflags" goto cflags if "%0" equ "--ldflags" goto ldflags if "%0" equ "--libs" goto libs +if "%0" equ "--help" goto showhelp echo Invalid Option goto :eof @@ -20,3 +21,10 @@ goto top :ldflags echo MRUBY_LDFLAGS goto top + +:showhelp +echo Usage: mruby-config [switches] +echo switches: +echo --cflags print flags passed to compiler +echo --ldflags print flags passed to linker +echo --libs print linked libraries |
