File: fix-webfont-cli-help.patch

package info (click to toggle)
node-webfont 11.4.0%2Bdfsg2%2B~cs35.7.26-12
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 121,980 kB
  • sloc: xml: 3,682,028; ansic: 31,165; javascript: 12,578; cpp: 4,385; python: 689; sh: 307; makefile: 227
file content (46 lines) | stat: -rw-r--r-- 1,199 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Description: Correct the short options displayed by webfont --help
  These now match the code behaviour.
Forwarded: https://github.com/itgalaxy/webfont/pull/613
Author: Julian Gilbey <jdg@debian.org>
Last-Update: 2023-02-14

--- a/src/cli/meow/index.ts
+++ b/src/cli/meow/index.ts
@@ -24,7 +24,7 @@
             The search will begin in the working directory and move up the
             directory tree until a configuration file is found.
 
-        -f, --fontName
+        -u, --fontName
 
             The font family name you want, default: "webfont".
 
@@ -36,7 +36,7 @@
 
             Output the version number.
 
-        -r, --formats
+        -f, --formats
 
             Only this formats generate.
 
--- a/src/cli/meow/__mocks__/index.ts
+++ b/src/cli/meow/__mocks__/index.ts
@@ -36,7 +36,7 @@
           The search will begin in the working directory and move up the
           directory tree until a configuration file is found.
 
-      -f, --fontName
+      -u, --fontName
 
           The font family name you want, default: "webfont".
 
@@ -48,7 +48,7 @@
 
           Output the version number.
 
-      -r, --formats
+      -f, --formats
 
           Only this formats generate.