~psic4t/qcard

9b83b0f6774aaf7ff1f0693b8139df146c367628 — psic4t 6 months ago 3168b95
fix nickname
4 files changed, 3 insertions(+), 3 deletions(-)

M README.md
M helpers.go
M main.go
M qcard
M README.md => README.md +1 -1
@@ 75,7 75,7 @@ Here's a list of all attributes:
* **B:** Birthday
* **T:** Title
* **R:** Role
* **K:** Nickname
* **I:** Nickname
* **n:** Note

### Add new contact

M helpers.go => helpers.go +1 -1
@@ 177,7 177,7 @@ func (e contactStruct) fancyOutput() {
			fmt.Println(`  B: ` + e.birthday)
		}
		if e.nickname != "" {
			fmt.Println(`  B: ` + e.nickname)
			fmt.Println(`  I: ` + e.nickname)
		}
		if e.name != "" {
			fmt.Println(`  N: ` + e.name)

M main.go => main.go +1 -1
@@ 162,7 162,7 @@ func createContact(abNo int, contactData string) {
				title = "\nTITLE:" + attr[1]
			case " R":
				role = "\nROLE:" + attr[1]
			case " K":
			case " I":
				role = "\nNICKNAME:" + attr[1]
			}
		}

M qcard => qcard +0 -0