diff --git a/README.md b/README.md index 14345fd..944b883 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/src/main.c b/src/main.c index 57d782e..86ec92a 100644 --- a/src/main.c +++ b/src/main.c @@ -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");