mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	Add --letter option, similar to --a4. This is a no-op, but can be used from
a Makefile: mkhowto.sh --$(PAPER).
This commit is contained in:
		
							parent
							
								
									8981fdf16e
								
							
						
					
					
						commit
						d5d473fd5c
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -43,6 +43,7 @@ HTML options:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Other options:
 | 
					Other options:
 | 
				
			||||||
    --a4		Format for A4 paper.
 | 
					    --a4		Format for A4 paper.
 | 
				
			||||||
 | 
					    --letter		Format for US letter paper (the default).
 | 
				
			||||||
    --help, -H		Show this text.
 | 
					    --help, -H		Show this text.
 | 
				
			||||||
    --logging, -l	Log stdout and stderr to a file (*.how).
 | 
					    --logging, -l	Log stdout and stderr to a file (*.how).
 | 
				
			||||||
    --debugging, -D	Echo commands as they are executed.
 | 
					    --debugging, -D	Echo commands as they are executed.
 | 
				
			||||||
| 
						 | 
					@ -166,6 +167,9 @@ while [ "$1" ] ; do
 | 
				
			||||||
	    TEXINPUTS=$TOPDIR/paper-a4:$TEXINPUTS
 | 
						    TEXINPUTS=$TOPDIR/paper-a4:$TEXINPUTS
 | 
				
			||||||
	    shift 1
 | 
						    shift 1
 | 
				
			||||||
	    ;;
 | 
						    ;;
 | 
				
			||||||
 | 
						--letter|--lette|--lett|--let|--le)
 | 
				
			||||||
 | 
						    shift 1
 | 
				
			||||||
 | 
						    ;;
 | 
				
			||||||
	--link|--lin|--li)
 | 
						--link|--lin|--li)
 | 
				
			||||||
	    LINK="$2"
 | 
						    LINK="$2"
 | 
				
			||||||
	    shift 2
 | 
						    shift 2
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue