@ -62,7 +62,7 @@ and flags that are only available to that command.
 | 
			
		||||
In the example above 'port' is the flag.
 | 
			
		||||
 | 
			
		||||
Flag functionality is provided by the [pflag
 | 
			
		||||
libary](https://github.com/ogier/pflag), a fork of the flag standard library
 | 
			
		||||
library](https://github.com/ogier/pflag), a fork of the flag standard library
 | 
			
		||||
which maintains the same interface while adding posix compliance.
 | 
			
		||||
 | 
			
		||||
## Usage
 | 
			
		||||
 | 
			
		||||
@ -118,7 +118,7 @@ and you'll get something like
 | 
			
		||||
-c            --container=  -p            --pod=  
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
# Specify valid filename extentions for flags that take a filename
 | 
			
		||||
# Specify valid filename extensions for flags that take a filename
 | 
			
		||||
 | 
			
		||||
In this example we use --filename= and expect to get a json or yaml file as the argument. To make this easier we annotate the --filename flag with valid filename extensions.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user