Re: [PATCH 19/31] more: tell in run time help what the 'v' will execute as editor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 22 Feb 2015, Benno Schulenberg wrote:

> On Sun, Feb 22, 2015, at 15:43, Sami Kerola wrote:
> > -	fputs(_("!<cmd> or :!<cmd>       Execute <cmd> in a subshell\n"), stdout);
> > -	fputs(_("v                       Start up /usr/bin/vi at current line\n"), stdout);
> > +	fputs(_("!<cmd> or :!<cmd>       Execute <cmd> in a subshell\n"), stdout);	fprintf(stdout, _(
> > +		"v                       Start up '%s' at current line\n"), find_editor());
> 
> Forgot a newline after the semicolon before the fprinf()?

Thanks Benno,

I tried to make print out block to be continuous, but that broke style as 
you pointed out. Updated version tries to combine style and overall print 
out block readability - while still taking tiny indentation liberties.

https://github.com/kerolasa/lelux-utiliteetit/commit/1e5b8bd88200bc0c7454030b99ad91482131f3a9

-- 
Sami Kerola
http://www.iki.fi/kerolasa/
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux