1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 06:11:12 +00:00
Files
os/cmd/control/dev.go
Darren Shepherd 28bd8b0ccb Fix ros dev panic
2016-02-04 09:25:36 -07:00

15 lines
206 B
Go

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