using System; namespace CMLeonOS.Commands.User { public static class HostnameCommand { public static void ProcessHostnameCommand(string args, CMLeonOS.UserSystem userSystem, Action showError) { if (string.IsNullOrEmpty(args)) { showError("Usage: hostname "); return; } userSystem.ProcessHostnameCommand(args); } } }