update: README.md; bump version to 1.5.0;
This commit is contained in:
		
							parent
							
								
									39adf93e46
								
							
						
					
					
						commit
						cb7a84662f
					
				
							
								
								
									
										33
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										33
									
								
								README.md
									
									
									
									
									
								
							| @ -36,16 +36,41 @@ brew install ncmdump | ||||
| ncmdump -h | ||||
| ``` | ||||
| 
 | ||||
| 命令行下输入一个或多个文件 | ||||
| 使用 `-v` 或 `--version` 参数来打印版本信息 | ||||
| 
 | ||||
| ```shell | ||||
| ncmdump file1 file2... | ||||
| ncmdump -v | ||||
| ``` | ||||
| 
 | ||||
| 你可以使用 `-d` 参数来指定一个文件夹,对文件夹下的所有文件批量处理 | ||||
| 处理单个或多个文件 | ||||
| 
 | ||||
| ```shell | ||||
| ncmdump -d folder | ||||
| ncmdump 1.ncm 2.ncm... | ||||
| ``` | ||||
| 
 | ||||
| 你可以使用 `-d` 参数来指定一个文件夹,对文件夹下的所有以 ncm 为扩展名的文件进行批量处理 | ||||
| 
 | ||||
| ```shell | ||||
| ncmdump -d source_dir | ||||
| ``` | ||||
| 
 | ||||
| 你可以使用 `-r` 配合 `-d` 参数来递归处理文件夹下的所有以 ncm 为扩展名的文件 | ||||
| 
 | ||||
| ```shell | ||||
| ncmdump -d source_dir -r | ||||
| ``` | ||||
| 
 | ||||
| 你可以使用 `-o` 参数来指定输出目录,将转换后的文件输出到指定目录,该参数支持与 `-r` 参数一起使用 | ||||
| 
 | ||||
| ```shell | ||||
| # 处理单个或多个文件并输出到指定目录 | ||||
| ncmdump 1.ncm 2.ncm -o output_dir | ||||
| 
 | ||||
| # 处理文件夹下的所有以 ncm 为扩展名并输出到指定目录,不包含子文件夹 | ||||
| ncmdump -d source_dir -o output_dir | ||||
| 
 | ||||
| # 递归处理文件夹并输出到指定目录,并保留目录结构 | ||||
| ncmdump -d source_dir -o output_dir -r | ||||
| ``` | ||||
| 
 | ||||
| ### 动态库 | ||||
|  | ||||
| @ -63,6 +63,8 @@ int main(int argc, char **argv) | ||||
|     ("v,version", "Print version information", cxxopts::value<bool>()->default_value("false")) | ||||
|     ("filenames", "Input files", cxxopts::value<std::vector<std::string>>()); | ||||
| 
 | ||||
|     options.positional_help("<files>"); | ||||
| 
 | ||||
|     options.parse_positional({"filenames"}); | ||||
| 
 | ||||
|     options.allow_unrecognised_options(); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user