Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: [RFC] Clean way to disable pager

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:43:30

Possibly related (same subject, not in this thread)

Matthieu Moy wrote:
David Kastrup [off-list ref] writes:
quoted
Adam Roben [off-list ref] writes:
quoted
On Aug 19, 2007, at 12:44 PM, Matthieu Moy wrote:
quoted
+    [-p|--paginate] [--no-pager]
  I think that [-p|--[no-]paginate] would be more consistent with the
way negatable options are normally specified.
Disregard previously existing code, I'd vote for using an option set
like the following:

--pager
--pager=less
--pager=cat
--no-pager

"--paginate" is rather artificial in contrast.
ACK. I thought of naming the option --no-paginate, but I don't think
that good english. --dont-paginate would be good english, but doesn't
match the --[no-]whatever scheme.

Perhaps using David's proposal, and keeping the --paginate as a
backward compatibility, deprecated switch is the way to go.
I like it too. ACK.

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help