Skip to content

Commit 3b319f0

Browse files
committed
Global: add missing changes
1 parent c3352d6 commit 3b319f0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

doc/json_schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@
415415
"description": "Set the percentage output type. 1 for percentage number, 2 for bar, 3 for both, 6 for bar only, 9 for colored number",
416416
"minimum": 0,
417417
"maximum": 255,
418-
"default": 1
418+
"default": 9
419419
},
420420
"ndigits": {
421421
"type": "number",

src/data/help.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Display options:
7474
--disable-linewrap <?value>: Whether to disable line wrap during the run
7575
--hide-cursor <?value>: Whether to hide the cursor during the run
7676
--binary-prefix <value>: Set the binary prefix to used. Must be IEC, SI or JEDEC. Default is IEC
77-
--percent-type <value>: Set the percentage output type. 1 for percentage number, 2 for bar, 3 for both, 6 for bar only, 9 for colored number. Default is 1
77+
--percent-type <value>: Set the percentage output type. 1 for percentage number, 2 for bar, 3 for both, 6 for bar only, 9 for colored number. Default is 9
7878
--percent-ndigits <value>: Set the number of digits to keep after the decimal point when formatting percentage numbers. Default is 0
7979
--bar-char-elapsed <str>: Set the character to use in elapsed part. Default is '■'
8080
--bar-char-total <str>: Set the character to use in total part. Default is '-'

src/flashfetch.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ int main(void)
4545
ffPrintMemory(&options->memory);
4646
ffPrintSwap(&options->swap);
4747
ffPrintDisk(&options->disk);
48+
ffPrintLocalIp(&options->localIP);
49+
// ffPrintPublicIp(&options->publicIP);
50+
//ffPrintWifi(&options->wifi);
4851
ffPrintBattery(&options->battery);
4952
ffPrintPowerAdapter(&options->powerAdapter);
5053
//ffPrintPlayer(&options->player);
5154
//ffPrintMedia(&options->media);
52-
//ffPrintLocalIp(&options->localIp);
53-
//ffPrintPublicIp(&options->publicIp);
54-
//ffPrintWifi(&options->wifi);
5555
//ffPrintCPUUsage(&options->cpuUsage);
5656
ffPrintLocale(&options->locale);
5757
//ffPrintDateTime(&options->dateTime);

0 commit comments

Comments
 (0)