updated name
This commit is contained in:
parent
1b7ded5f8a
commit
449568ee35
2 changed files with 4 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
# pss-total
|
# pss-total-waybar
|
||||||
sum proportional set size of every process for accurate memory usage statistics.
|
sum proportional set size of every process for accurate memory usage statistics.
|
||||||
In non-pretty mode, the number is given in kibibytes.
|
In non-pretty mode, the number is given in kibibytes.
|
||||||
|
|
||||||
|
@ -20,10 +20,9 @@ Here is an example configuration:
|
||||||
Licensed under GPLv3.
|
Licensed under GPLv3.
|
||||||
|
|
||||||
### Summary
|
### Summary
|
||||||
pss-total [OPTIONS]
|
pss-total-waybar [OPTIONS]
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
- `-p`, `--pretty`: format output using sensible units: KiB, MiB, or GiB.
|
|
||||||
- `-h`, `--help`: print this help message.
|
- `-h`, `--help`: print this help message.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -167,13 +167,13 @@ int main(int argc, char **argv) {
|
||||||
if ((strcmp(argv[1], "--help") == 0) || (strcmp(argv[1], "-h") == 0)) {
|
if ((strcmp(argv[1], "--help") == 0) || (strcmp(argv[1], "-h") == 0)) {
|
||||||
printf("DESCRIPTION\n");
|
printf("DESCRIPTION\n");
|
||||||
printf(
|
printf(
|
||||||
" pss-total: sum proportional set size of every process for "
|
" pss-total-waybar: sum proportional set size of every process for "
|
||||||
"accurate memory\n");
|
"accurate memory\n");
|
||||||
printf(
|
printf(
|
||||||
" usage statistics. This branch outputs json for use in waybar.\n");
|
" usage statistics. This branch outputs json for use in waybar.\n");
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf("SUMMARY\n");
|
printf("SUMMARY\n");
|
||||||
printf(" pss-total [OPTIONS]\n");
|
printf(" pss-total-waybar [OPTIONS]\n");
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf("OPTIONS\n");
|
printf("OPTIONS\n");
|
||||||
printf(" -h, --help\n");
|
printf(" -h, --help\n");
|
||||||
|
|
Loading…
Reference in a new issue