updated name

This commit is contained in:
Noah Swerhun 2024-05-24 18:55:09 -05:00
parent 1b7ded5f8a
commit 449568ee35
2 changed files with 4 additions and 5 deletions

View file

@ -1,4 +1,4 @@
# pss-total
# pss-total-waybar
sum proportional set size of every process for accurate memory usage statistics.
In non-pretty mode, the number is given in kibibytes.
@ -20,10 +20,9 @@ Here is an example configuration:
Licensed under GPLv3.
### Summary
pss-total [OPTIONS]
pss-total-waybar [OPTIONS]
### Options
- `-p`, `--pretty`: format output using sensible units: KiB, MiB, or GiB.
- `-h`, `--help`: print this help message.

View file

@ -167,13 +167,13 @@ int main(int argc, char **argv) {
if ((strcmp(argv[1], "--help") == 0) || (strcmp(argv[1], "-h") == 0)) {
printf("DESCRIPTION\n");
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");
printf(
" usage statistics. This branch outputs json for use in waybar.\n");
printf("\n");
printf("SUMMARY\n");
printf(" pss-total [OPTIONS]\n");
printf(" pss-total-waybar [OPTIONS]\n");
printf("\n");
printf("OPTIONS\n");
printf(" -h, --help\n");