浏览代码

fix(tauri.js) `tauri icon` with `--icon` flag, closes #750 (#774)

Lucas Fernandes Nogueira 5 年之前
父节点
当前提交
16d39b3c0d
共有 2 个文件被更改,包括 6 次插入1 次删除
  1. 5 0
      .changes/tauri-icon.md
  2. 1 1
      cli/tauri.js/bin/tauri-icon.js

+ 5 - 0
.changes/tauri-icon.md

@@ -0,0 +1,5 @@
+---
+"tauri.js": patch
+---
+
+Fixes the `tauri icon` usage with the `--icon` flag. Previously, only the `-i` flag worked.

+ 1 - 1
cli/tauri.js/bin/tauri-icon.js

@@ -21,7 +21,7 @@ const argv = parseArgs(process.argv.slice(2), {
     h: 'help',
     l: 'log',
     c: 'config',
-    s: 'source',
+    i: 'icon',
     t: 'target'
   },
   boolean: ['h', 'l']