1
0
mirror of https://github.com/rancher/os.git synced 2025-06-25 06:21:33 +00:00
os/cmd/control/dev.go
Sven Dowideit 1a0e818328 make ros install --append work
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-15 23:40:18 +00:00

16 lines
224 B
Go

package control
import (
"fmt"
"github.com/codegangsta/cli"
"github.com/rancher/os/util"
)
func devAction(c *cli.Context) error {
if len(c.Args()) > 0 {
fmt.Println(util.ResolveDevice(c.Args()[0]))
}
return nil
}