From 8c26bfec32441830b4a0e5938a6cc7de1a64ff99 Mon Sep 17 00:00:00 2001 From: Mike Burns Date: Mon, 5 May 2014 11:08:02 +0200 Subject: Add a hostname override Based on issue #82, we now provide `-B` to override the hostname. In particular: - `mkrc -B foo` will enable `-o` but with the hostname set up `foo`. - `lsrc -B foo` will work like normal `lsrc` except it treats `host-foo` as the host-specific directory. - `rcup -B foo` will run a normal `rcup` except `host-foo` is the host-specific directory. - `rcdn -B foo` is just like normal `rcdn`, but with `host-foo` as the host-specific directory. The `HOSTNAME` can also be set in the rcrc(5), and this is overridden by the aforementioned `-B`. While making this change: The `test/Makefile.am` used a mix of tabs and spaces. Since it's a Makefile, replace it all with tabs. --- NEWS.md.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NEWS.md.in') diff --git a/NEWS.md.in b/NEWS.md.in index 68e63be..e1b68c6 100644 --- a/NEWS.md.in +++ b/NEWS.md.in @@ -4,6 +4,8 @@ rcm (@PACKAGE_VERSION@) unstable; urgency=low directory. Verbose hidden files for lsrc(1) (Javier López). * Allow running mkrc on a relative file and preserve the path (Pablo Olmos de Aguilera Corradini). + * A flag (-B), and a variable for rcrc(5) (HOSTNAME), for changing the + hostname as rcm sees it (Mike Burns). -- Mike Burns Fri, 28 Mar 2014 16:30:53 +0100 -- cgit v1.2.3