1// Copyright 2019-2020 Graham Clark. All rights reserved.  Use of this source
2// code is governed by the MIT license that can be found in the LICENSE
3// file.
4//
5// +build !windows
6
7package cli
8
9//======================================================================
10
11// Embedded in the CLI options struct.
12type PlatformSwitches struct {
13	Tty string `long:"tty" description:"Display the UI on this terminal." value-name:"<tty>"`
14}
15
16func (p PlatformSwitches) TtyValue() string {
17	return p.Tty
18}
19
20//======================================================================
21
22type TailSwitch struct{}
23
24func (t TailSwitch) TailFileValue() string {
25	return ""
26}
27
28//======================================================================
29// Local Variables:
30// mode: Go
31// fill-column: 78
32// End:
33