feature/id-for-hmtl-headers #3
@@ -113,7 +113,10 @@ func (c *Config) handleCliArgs() error {
 | 
			
		||||
	flag.IntVar(&port, "port", port, "port")
 | 
			
		||||
	flag.Parse()
 | 
			
		||||
 | 
			
		||||
	c.Port = fmt.Sprint(":", port)
 | 
			
		||||
	if port != 0 {
 | 
			
		||||
		c.Port = fmt.Sprint(":", port)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	c.ConfigFile, err = mkFile(c.ConfigFile, 0600, 0700)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return fmt.Errorf("error setting up file: %v", err)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user