From: Lothar =?UTF-8?B?V2HDn21hbm4=?= Date: Tue, 23 May 2017 10:18:10 +0200 Subject: [U-Boot] RFC: Alternative command name for 'tftpput' In-Reply-To: <7331d786-27be-4019-080a-2b6130ee199f@denx.de> References: <7331d786-27be-4019-080a-2b6130ee199f@denx.de> Message-ID: <20170523101810.15ee5474@ipc1.ka-ro> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de Stefan Roese wrote: > I'm stumbling again over a problem introduced with the "tftpput" > command and its naming, as it breaks some of the old scripts that > I and others still use. As you know, when this command is enabled > (which I find quite useful from time to time), "tftp" can't be > used any more as an shorthand for "tftpboot". > > What do others feel about this naming? Would it be acceptable, if > I post a patch to rename this "tftpput" command into something > else (e.g. netput, ethput, ...)? Or perhaps its possible to add > an alias for the "tftpboot" command as "tftp", allowing the > usage of all 3 commands: > Thou shalt not use abbreviated commands in scripts! The same thing happens with 'set' as an abbreviation for 'setenv' when the 'setexpr' command is enabled. Lothar Waßmann -- ___________________________________________________________ Ka-Ro electronics GmbH | Pascalstraße 22 | D - 52076 Aachen Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10 Geschäftsführer: Matthias Kaussen Handelsregistereintrag: Amtsgericht Aachen, HRB 4996 www.karo-electronics.de | info at karo-electronics.de ___________________________________________________________