Skip to content

Add header to cli#2296

Merged
Alkarex merged 2 commits intoFreshRSS:devfrom
aledeg:feature/cli-headers
Mar 23, 2019
Merged

Add header to cli#2296
Alkarex merged 2 commits intoFreshRSS:devfrom
aledeg:feature/cli-headers

Conversation

@aledeg
Copy link
Copy Markdown
Member

@aledeg aledeg commented Mar 23, 2019

Now there is a switch to display the header on user info.
While doing that, I've changed how the command is working to display
all users by default and to accept more than one user at once.
I also changed the display to make it more pleasing.

As this command displays all users by default. I wonder if we still
need the list user command.

See #2294

@Alkarex Alkarex added this to the 1.14.0 milestone Mar 23, 2019
$pow = min($pow, count($units) - 1);
$bytes /= pow($base, $pow);
return format_number($bytes, $precision) . ' ' . $units[$pow];
return format_number($bytes, $precision) . ' ' . $units[$pow];
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've changed this space because it wasn't a regular space. I don't know if it was on purpose or not. The space was coded on two bytes and broke the cli display layout.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was on purpose, but if it broke anything, it is not a problem to remove it

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What was the use case which needed such space?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thin non-breaking space, if I remember correctly, which is the typographic standard between a number and its unit.

Now there is a switch to display the header on user info.
While doing that, I've changed how the command is working to display
all users by default and to accept more than one user at once.
I also changed the display to make it more pleasing.

As this command displays all users by default. I wonder if we still
need the list user command.

See FreshRSS#2294
@aledeg aledeg force-pushed the feature/cli-headers branch from dd959b1 to 732cc37 Compare March 23, 2019 19:51
@Alkarex Alkarex merged commit f292559 into FreshRSS:dev Mar 23, 2019
@Alkarex Alkarex mentioned this pull request Mar 23, 2019
Alkarex added a commit to Alkarex/FreshRSS that referenced this pull request May 8, 2020
Anf update documentation after
FreshRSS#2296
Alkarex added a commit that referenced this pull request May 11, 2020
* Add lang and mail in CLI user-info

Anf update documentation after
#2296

* iff and language
@aledeg aledeg deleted the feature/cli-headers branch March 20, 2021 21:15
mdemoss pushed a commit to mdemoss/FreshRSS that referenced this pull request Mar 25, 2021
* Add header to cli

Now there is a switch to display the header on user info.
While doing that, I've changed how the command is working to display
all users by default and to accept more than one user at once.
I also changed the display to make it more pleasing.

As this command displays all users by default. I wonder if we still
need the list user command.

See FreshRSS#2294

* Minor format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants