Skip to content

Commit e200963

Browse files
author
Geobert Quach
committed
Update changelog
1 parent 61dba92 commit e200963

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

CHANGELOG.md

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# 1.2.0
2+
- Support for parameters in alias (see Readme)
3+
- Alias call must be precede by `$` now
4+
- If the roll has an alias, print the expansion (avoid cheating ;-) )
5+
- When using an alias which has a comment, the comment is manage properly so you can add
6+
things to the alias call:
7+
```
8+
/alias set init d20 + 6 : initiative
9+
10+
/r $init + 2
11+
Alias expansion: d20 + 6 + 2 : initiative
12+
```
13+
14+
Before 1.2.0, the addition was after the comment and hence, ignored:
15+
```
16+
/r $init + 2
17+
Alias expansion: d20 + 6 : initiative + 2
18+
```
19+
120
# 1.1.2
221
- build windows binaries
322
- update installation instruction

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ aliases and users can refer to either their own aliases or global ones:
167167
```
168168
/alias setg ATT d20
169169
/alias set att $ATT + 4
170-
/r att
170+
/r $att
171171
> Geob roll: [12] + 4 Result: 16
172172
```
173173

@@ -177,10 +177,10 @@ Alias expansion occurs on use. So you can do things like that:
177177
/alias setg ATT d20
178178
/alias set att_bonus +4
179179
/alias set att $ATT $att_bonus
180-
/r att
180+
/r $att
181181
> Geob roll: [11] +4 Result: 15
182182
/alias set att_bonus +5
183-
/r att
183+
/r $att
184184
> Geob roll: [11] +5 Result: 16
185185
```
186186

0 commit comments

Comments
 (0)