Explorar o código

Update readme

- Add optional parameter to 'usage' section regenerate only outdated files
Alexey Edelev %!s(int64=6) %!d(string=hai) anos
pai
achega
c2f174230e
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -6,7 +6,7 @@ Protobuf plugin to generate Qt classes
 ```bash
 mkdir build
 cd build
-cmake [-DCMAKE_PREFIX_PATH=<PATH_TO_Qt5Config.cmake_OR_qt5-config.cmake>] ..
+cmake [-DCMAKE_PREFIX_PATH=<path/to/Qt5Config.cmake|path/to/qt5-config.cmake>] ..
 make -j<N>
 ```
 
@@ -20,5 +20,5 @@ cmake --build . --target qtprotobuf --config RELEASE
 
 ## Usage
 ```bash
-protoc --plugin=protoc-gen-qtprotobuf=<path/to/bin>/qtprotobuf --qtprotobuf_out=<output_dir> <protofile>.proto
+protoc --plugin=protoc-gen-qtprotobuf=<path/to/bin>/qtprotobuf --qtprotobuf_out=<output_dir> <protofile>.proto [--qtprotobuf_opt=out=<output_dir>]
 ```