mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	feat: add login flag (todo)
This commit is contained in:
		
							parent
							
								
									53adc6ab21
								
							
						
					
					
						commit
						55c05a9a92
					
				
							
								
								
									
										5
									
								
								main.go
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								main.go
									
									
									
									
									
								
							@ -47,6 +47,11 @@ func main() {
 | 
			
		||||
		Help: "Sets the path to Hilbish's config",
 | 
			
		||||
		Default: defaultconfpath,
 | 
			
		||||
	})
 | 
			
		||||
	loginshflag := parser.String("l", "login", &argparse.Options{
 | 
			
		||||
		Required: false,
 | 
			
		||||
		Help: "Makes Hilbish act like a login shell",
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
	err := parser.Parse(os.Args)
 | 
			
		||||
	// If invalid flags or --help/-h,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user